div > p:nth-of-type(odd){
    background-color: yellow;
}